package main

import (
	"fmt"
	"time"
)

//时间
func main() {
	now := time.Now()
	fmt.Println("时间:", now.Format("2006-01-02"))
	fmt.Println("时间:", now.Format("2006-01-02 15:04:05"))
}
